package com.shiyingzi.gw.model;

import java.util.Date;

import com.shiyingzi.basics.model.BasicsEntity;

/**
 * <p>
 * 
 * </p>
 *
 * @author fanbc
 * @since 2018-05-10
 */
public class News extends BasicsEntity {
	private static final long serialVersionUID = 1L;

    /**
     * 新闻标题
     */
    public String title;
    /**
     * 新闻图片
     */
    public String context;
    /**
     * 创建人id
     */
    public transient Integer createUserId;
    /**
     * 修改人id
     */
    public transient Integer modifyUserId;
    public transient Date createTime;
    public transient Date modifyTime;
    public transient String deleteFlag;
    public String img;
    public String text;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContext() {
        return context;
    }

    public void setContext(String context) {
        this.context = context;
    }

    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }

    public Integer getModifyUserId() {
        return modifyUserId;
    }

    public void setModifyUserId(Integer modifyUserId) {
        this.modifyUserId = modifyUserId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "News{" +
        ", title=" + title +
        ", context=" + context +
        ", createUserId=" + createUserId +
        ", modifyUserId=" + modifyUserId +
        ", createTime=" + createTime +
        ", modifyTime=" + modifyTime +
        ", deleteFlag=" + deleteFlag +
        ", img=" + img +
        ", text=" + text +
        "}";
    }
}
